import { CONCAT_CDN_IMAGE_ORIGIN } from "@/utils/test"

export const apiRank = `/api/program/app/v1/ranking`

export interface IRank {
    addressSignUp: string;
    appUserId: number;
    asiaPremiere: number;
    auditStatus: number;
    auditStatusText: string;
    author: string;
    authorIntro: string;
    awarded: number;
    categoryType: number;
    categoryTypeText: string;
    chinaPremiere: number;
    company: string;
    contactAddress: string;
    contactName: string;
    delFlag: number;
    designTime: string;
    email: string;
    flowNode: number;
    id: number;
    idCardBack: string;
    idCardFront: string;
    intermission: string;
    openid: string;
    original: number;
    originalVideo: string;
    otherCopyright: string;
    passport: string;
    performanceAddress: string;
    performanceInfo: string;
    performancePlan: string;
    performanceSignUp: string;
    personSum: number;
    programAuth: string;
    programDuration: string;
    programImage: string;
    programIntro: string;
    programName: string;
    programNo: string;
    programType: number;
    programTypeText: string;
    registerTime: string;
    rejectReason: string;
    sheetMusic: string;
    status: number;
    tel: string;
    totalVotes: number;
}

/**
 * 项目类型：0：原创音乐；1: 交响乐与民族器乐；2：独奏与室内乐；3：音乐戏剧；4：声乐演唱
 * -1 全部
 */
export const programTypeConfig = [-1, 1, 2, 3, 4]

const crownPic1 = CONCAT_CDN_IMAGE_ORIGIN('/vote/crown_1.png')

const crownPic2 = CONCAT_CDN_IMAGE_ORIGIN('/vote/crown_2.png')
const crownPic3 = CONCAT_CDN_IMAGE_ORIGIN('/vote/crown_3.png')


export const crownPics = [crownPic1, crownPic2, crownPic3]